﻿namespace JIG_SoftTemplate.Common.Services
{
    public class LoggerService
    {
        private static readonly NLog.ILogger Logger = NLog.LogManager.GetLogger("MyLog");

        public void Info(string message)
        {
            Logger.Info(message);
        }

        public void Error(string message, Exception? ex = null)
        {
            Logger.Error(ex, message);
        }
    }
}
